package com.wwx.worldonwheels.mapper;

import com.wwx.worldonwheels.VO.ModifyInfoVo;
import com.wwx.worldonwheels.domain.WwxCustomer;
import com.wwx.worldonwheels.domain.WwxCustomerExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface WwxCustomerMapper {
    long countByExample(WwxCustomerExample example);

    int deleteByExample(WwxCustomerExample example);

    int deleteByPrimaryKey(Integer custId);

    int insert(WwxCustomer record);

    int insertSelective(WwxCustomer record);

    List<WwxCustomer> selectByExample(WwxCustomerExample example);


    WwxCustomer selectByPrimaryKey(Integer custId);
    WwxCustomer selectByPhone(String phone);

    int updateByExampleSelective(@Param("record") WwxCustomer record, @Param("example") WwxCustomerExample example);

    int updateByExample(@Param("record") WwxCustomer record, @Param("example") WwxCustomerExample example);

    int updateInfoByCustIdAnd(@Param("record") ModifyInfoVo modifyInfoVo);

    int updateByPrimaryKeySelective(WwxCustomer record);

    int updateByPrimaryKey(WwxCustomer record);
}